//
//  HHIndicatorKey.h
//  FCHealthy
//
//  Created by mouxiaochun on 16/3/10.
//  Copyright © 2016年 mmc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ModelBase.h"


static NSString *testTime = @"testTime";
static NSString *sg_key = @"SG";
static NSString *tz_key = @"TZ";
static NSString *xy_key = @"XY";

typedef enum HHIndicatorType {
    HHIndicatorTypeHeight = 0,//身高
    HHIndicatorTypeWeight,//体重
    HHIndicatorTypeBloodPressure
    
}HHIndicatorType;


@interface HHIndicator : ModelBase

@property (nonatomic, strong) NSString *gatherTime;
@property (nonatomic, strong) NSString *indicatorCode;
@property (nonatomic, strong) NSString *indicatorValue;
@property (nonatomic, strong) NSString *indicatorName;
@property (nonatomic, strong) NSString *indicatorUnit;



@property (nonatomic, strong) NSString *year;
@property (nonatomic, strong) NSString *month;
@property (nonatomic, strong) NSString *day;

 

- (NSString *)year ;
- (NSString *)month;
 //- (NSString *)indicatorValue;
- (NSString *)day;

@end
@interface HHIndicatorKey : ModelBase
@property (nonatomic, strong) NSString *keyword;
@property (nonatomic, strong) NSArray  *indicators;
@property (nonatomic, assign) BOOL     isFocus;
@property (nonatomic, strong) NSString *indicatorUnit;
@property (nonatomic, strong) NSString *indicatorName;
@property (nonatomic, strong) NSString *datetime;
@property (nonatomic, strong) NSString *suggestion;
@property (nonatomic, strong) NSArray *targetList;

- (NSString *)date;
//带数值和单位
- (NSString *)value;
- (NSString *)title;

- (NSString *)keyword;

- (NSString *)indicatorUnit;


+(NSDictionary *)configObject;


@end
